package com.caregiver.watch.business.care.model.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

/**
 * @Description: 开通健康预警结果
 * @Author 疆戟
 * @Date 2025/10/15 23:49
 * @Version 1.0
 */
@Data
@Schema(description = "开通健康预警结果")
public class OpenHealthAlertVo {

    @Schema(description = "是否成功")
    private Boolean success;

    @Schema(description = "预支付ID")
    private String prepayId;

    public static OpenHealthAlertVo build(String prepayId, Boolean success) {
        OpenHealthAlertVo vo = new OpenHealthAlertVo();
        vo.success = success;
        vo.prepayId = prepayId;
        return vo;
    }
}
